import Layout from '@/layout/nurse/index.vue'

export default {
  path: '/nurse',
  component: Layout,
  redirect: '/nurse/center',
  name: 'Nurse',
  meta: { title: '陪护师工作台', icon: 'Nurse', roles: ['nurse'] },
  children: [
    {
      path: 'center',
      name: 'NurseCenter',
      component: () => import('@/views/nurse/NurseCenter.vue'),
      meta: { title: '个人中心' }
    },
    {
      path: 'orders',
      name: 'NurseOrders',
      component: () => import('@/views/nurse/Orders.vue'),
      meta: { title: '我的订单' }
    },
    {
      path: 'order-hall',
      name: 'OrderHall',
      component: () => import('@/views/nurse/OrderHall.vue'),
      meta: { title: '接单大厅' }
    },
    {
      path: 'profile',
      name: 'NurseProfile',
      component: () => import('@/views/nurse/Profile.vue'),
      meta: { title: '个人信息' }
    },
  ]
} 